package com.mutouren.modules.datapush.strategy;

public class RepeatStrategy {
	private int strategyId;
	private String methodAlias;
	
	private int power;
	private int maxRequestCount;
	private int hourLimit;
	private int maxHourInterval;
	
	private String successFlag;

	public RepeatStrategy() {}

	public RepeatStrategy(String methodAlias, int power, int maxRequestCount, 
			int hourLimit, int maxHourInterval, String successFlag) {		
		this.methodAlias = methodAlias;
		this.power = power;
		this.maxRequestCount = maxRequestCount;
		this.hourLimit = hourLimit;
		this.maxHourInterval = maxHourInterval;
		this.successFlag = successFlag;
	}

	public String getMethodAlias() {
		return methodAlias;
	}
	public void setMethodAlias(String methodAlias) {
		this.methodAlias = methodAlias;
	}
	public int getPower() {
		return power;
	}
	public void setPower(int power) {
		this.power = power;
	}

	public int getMaxRequestCount() {
		return maxRequestCount;
	}
	public void setMaxRequestCount(int maxRequestCount) {
		this.maxRequestCount = maxRequestCount;
	}

	public int getHourLimit() {
		return hourLimit;
	}
	public void setHourLimit(int hourLimit) {
		this.hourLimit = hourLimit;
	}
	public int getMaxHourInterval() {
		return maxHourInterval;
	}
	public void setMaxHourInterval(int maxHourInterval) {
		this.maxHourInterval = maxHourInterval;
	}
	
	public String getSuccessFlag() {
		return successFlag;
	}
	public void setSuccessFlag(String successFlag) {
		this.successFlag = successFlag;
	}
	public int getStrategyId() {
		return strategyId;
	}
	public void setStrategyId(int strategyId) {
		this.strategyId = strategyId;
	}
}
